package com.etime.shuhuiyuan.services.teacher.interfaces;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.etime.shuhuiyuan.dto.TeacherDto;
import com.etime.shuhuiyuan.pojo.Teacher;
import com.etime.shuhuiyuan.pojo.User;

import java.util.List;

public interface TeacherService2{

    int insertTeacher(Teacher teacher,User user);

    //Integer insertUser(User user);

    int updateTeacher(Teacher teacher);

    List<Teacher> selectTeacherList(Teacher teacher);

    Page<Teacher> selectTeacherByPage(Teacher teacher, long pageNum, long pageSize);

    Teacher selectTeacherById(Integer teacherId);

    TeacherDto selectTeacherDtoById(Integer teacherDtoId);

    List<TeacherDto> selectTeacherDtoList(TeacherDto teacherDto);

    Page<TeacherDto> selectTeacherDtoByPage(TeacherDto teacherDto,long pageNum,long pageSize);
}
